    <script language="javascript">
      function showSearch() {
        document.getElementById("searchframe").style.display = "block";
        document.getElementById("button").style.display = "block";
      }

      function hideSearch(name) {
        document.getElementById("searchframe").style.display = "none";
        document.getElementById("button").style.display = "none";
      }
      function rollImage(element,url) {
        var el=typeof element=='string'?jQuery('#'+element).get(0):   element;if(url.indexOf("http")==0)
        el.src=url;else
        el.src=getDomainFromImg(el)+url;
      }
    </script>